package com.feign.config.enums;

import lombok.AllArgsConstructor;

/**
 * TODO
 *
 * @Description
 * @Author ZW
 * @Date 2022/12/29 21:09
 **/
@AllArgsConstructor
public enum ExchangeNameEnum {
    //交换机名
    /**
     * 题目服务消息交换机
     */
    QUESTION_DIRECT_EXCHANGE("questionFanoutExchange"),
    /**
     * 延时 死信消息中转交换机
     */
    EXPIRATION_TIME_FANOUT_EXCHANGE("expirationTimeFanoutExchange"),
    /**
     * 延时消息外层交换机
     */
    CREATE_TIME_FANOUT_EXCHANGE("createTimeFanoutExchange")
    ;
    final String name;

    public String getName() {
        return name;
    }
}
